package com.fishing.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.fishing.entity.T_Role_Admin;
import com.fishing.mapper.T_Role_AdminMapper;
import com.fishing.service.T_Role_AdminService;
@Service
public class T_Role_AdminImpl implements T_Role_AdminService {

	@Autowired
	private T_Role_AdminMapper T_Role_adminMapper;

	@Override
	public int insert(T_Role_Admin t_role_admin) throws Exception {
		t_role_admin.setRoleId(2);
		return this.T_Role_adminMapper.insert(t_role_admin);
	}
	


}
